Indiana Math Olympiad Algebra Question